package com.cold.demo.template.mapper;

import com.cold.demo.template.filter.RequestLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Map;


@Mapper
@Repository
public interface CommonMapper {

    Integer init();

    int insertLog(RequestLog log);


    Map<String,Object> queryTable(@Param("tableName") String tableName);

    void createRequestLogTable();
}
